<script>
	import {
		removeStorage
	} from '@/utils/storage.js'
	export default {
		globalData: {
			user: {},
			token: null
		},
		onLaunch: async function() {
			removeStorage('authCode')
			removeStorage('token')
			removeStorage('user')
		},
		onShow: function() {
			console.log('App Show')
			removeStorage('authCode')
			removeStorage('token')
			removeStorage('user')
		},
		onHide: function() {
			removeStorage('authCode')
			removeStorage('token')
			removeStorage('user')
		},
		onExit: function() {
			removeStorage('authCode')
			removeStorage('token')
			removeStorage('user')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import "./static/iconfont/iconfont.css";

	page {
		width: 100%;
		height: 100%;
	}

	*,
	view,
	text {
		box-sizing: border-box;
	}
</style>